import { request } from '@umijs/max';

export const fakeLoginApi = (data: { username: string; password: string }) => {
  console.log(data, 'login.ts');
  return request<API.Response<string>>('/v1/system/login', { method: 'POST', data });
};